package com.jubaozan.service.platform.constants;

/**
 * @Auther: chenjingui
 * @Date: 2020/9/23 19:44
 * @Description:
 */
public enum PlatformResultEnum {
    NO_PLAT_USER_INFO(404,"没有查询到用户信息"),
    NO_CATEGORY_INFO(405,"查询不到该商品分组信息"),
    NO_GOODS_INFO(406,"未查询到商品信息！"),
    SYS_PLAT_ERROR(501,"系统异常"),
    PLAT_USERNAME_OR_PWD_IS_NULL(302,"账户或者密码为空"),
    PLAT_PARAM_IS_NULL(301,"传入参数为空！");
    private  int code;
    private String msg;
    private PlatformResultEnum(int code,String msg)
    {
        this.code=code;
        this.msg=msg;
    }

    public String getMsg()
    {
        return this.msg;
    }
    public int getCode() {
        return this.code;
    }
}
